package com.xgimi.open.skill.datamanager.biz.constant;

public final class NluConstants {

    private NluConstants() {
    }

    /**
     * <b>描述：</b> NLU分布式训练锁的标识
     */
    public static final String NLU_TRAIN_LOCK_FLAG = "trainlock";

    public static final String NLU_SKILL_PUBLISH_LOCK_FLAG = "publishlock";

    public static final String NLU_SKILL_UPDATE_LOCK_FLAG = "updatelock";

    /**
     * <b>描述：</b> NLU作模型训练时的分隔符
     */
    public static final String NLU_TRAIN_SLOT_TYPE_SEPERATOR = "`";

    /**
     * redis锁 过期时间
     */
    public static final int NLU_LOCK_EXPIRE_TTS = 300;

    /**
     * 获取锁失败后，自旋，尝试获取锁的等待时间（毫秒）
     */
    public static final int NLU_LOCK_WAIT_TIME_MILLS = 500;
    public static final String PRODUCT_ID = "xgimi.open.skill.pid_";


}
